<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改用户信息</title>
</head>
<body>

<h2 align="center">修改用户</h2>
<div align="center">
    <form action="${pageContext.request.contextPath}/user/update.do" method="get">
        <input type="hidden" name="uid" value="${user.uid}" />
        <p>账户：<input type="text" name="username" placeholder="账户" disabled value="${user.username}"></p>
        <p>密码：<input type="text" name="password" placeholder="密码" value="${user.password}"></p>
        <p>名称：<input type="text" name="name" placeholder="名称" value="${user.name}"></p>
        <p>年龄：<input type="text" name="age" placeholder="年龄" value="${user.age}"></p>
        <p>地址：<input type="text" name="address" placeholder="地址" value="${user.address}"></p>
        <p>
            <input type="submit" value="提交">
            <input type="button" value="返回" onclick="history.back(-1)">
        </p>
    </form>
</div>

</body>
</html>
